<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ page session="false" %>
<html>
<head>
	<title>Home</title>
</head>
<body>
<h1>
	Welcome!
</h1>
	<s:url value="/user/profile" var="test">
		<s:param name="test" value="hi"/>
	</s:url>
	<s:url value="/user/register" var="register"/>
	${name}
	${test}
	<a href="${test}">test</a>
	<a href="${register}">register</a>

	<s:url value="/testSecurity" var="register"/>
	
	${name}
	<c:url value="/logout" var="logoutUrl"/>
	<li><a href="${logoutUrl}">Log Out</a></li>
</body>
</html>
